<!--
 * @Descripttion : 
 * @Autor        : Lilong
 * @Date         : 2022-09-14 11:01:36
 * @LastEditTime : 2022-09-14 12:49:45
 * @FilePath     : \src\ChildComponent.vue
-->
<template>
    <div>
        <h2>A组件</h2>

        <slot :user="user"></slot>
    </div>
</template>

<script>

export default {
    name:'ChildComponent',
    data(){
        return {
            user:{ name:"沐华1111" }
        }
    }
}
</script>

<style>

</style>template